package review.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import review.entity.Specialist;

@Repository
public interface SpecialistDAO extends JpaRepository<Specialist,Integer> {

  Specialist findByName(String name);

  Specialist findBySpecialistId(Integer id);

}
